package com.ziyun.erp.modules.quoteProductAttributeOptionRelation.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.ziyun.erp.modules.quoteProductAttributeOptionRelation.entity.QuoteProductAttributeOptionRelationEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ziyun.erp.modules.quoteProductAttributeOptionRelation.vo.QuoteAttributeSpecialVo;
import com.ziyun.erp.modules.quoteProductAttributeOptionRelation.vo.QuoteOptionSpecialVo;

import java.util.List;
import java.util.Map;

/**
 * 产品属性选项特殊关系表
 * 
 * @author zh
 * @email 296588519@qq.com
 * @date 2018-09-13 14:06:22
 */
public interface QuoteProductAttributeOptionRelationDao extends BaseMapper<QuoteProductAttributeOptionRelationEntity> {

    List<QuoteAttributeSpecialVo> selectAttributeSpecialList(Page<QuoteAttributeSpecialVo> page, Map<String, Object> params);

    QuoteAttributeSpecialVo selectAttributeSpecialById(Integer id);

    List<Map<String,Object>> getAttributes(Map<String, Object> paramsMap);

    List<QuoteOptionSpecialVo> selectOptionSpecialList(Page<QuoteOptionSpecialVo> page, Map<String, Object> params);

    List<Map<String,Object>> getOptions(Map<String, Object> paramsMap);

    QuoteOptionSpecialVo selectOptionSpecialById(Integer id);
}
